/*
package com.lebang.lechuangsystem.configuration.redis;

import org.redisson.Redisson;
import org.redisson.api.RedissonClient;
import org.redisson.spring.session.config.EnableRedissonHttpSession;
import org.springframework.context.annotation.Bean;
import org.springframework.core.io.ClassPathResource;

*/
/**
 * session用redis存储
 * @author hwq
 *//*

@EnableRedissonHttpSession
public class Config {

   @Bean
   public RedissonClient redisson() {

       org.redisson.config.Config config = org.redisson.config.Config.fromYAML(new ClassPathResource("redisson.yml").getInputStream());
       config.useSingleServer();
       return Redisson.create(config);
   }
}*/
